package com.yc.chaoshi.cs_manage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yc.chaoshi.entity.UmsResource;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xz
 * @since 2022-08-04
 */
public interface IUmsResourceService extends IService<UmsResource> {

    Page listAll(Integer pageNum, Integer pageSize, String sreachname, String sreachurl);

    Boolean add(UmsResource umsRoles);

    Boolean edit(UmsResource umsRoles);

    List<UmsResource> listByid(Integer roleid);

    Page listResource(Integer pageNum, Integer pageSize, String sreachname, String sreachurl, Integer roleid);

}
